﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;

namespace Mortgage.Srv
{
    public static class SrvFactory
    {

        public static ICredentialsSrv CreateCredentialsSrv()
        {
            return new CredentialsSrv();
        }

        public static IAgentSrv CreateAgentSrv()
        {
            return new AgentSrv();
        }

        public static IConfigSrv CreateConfigSrv()
        {
            return new ConfigSrv();
        }

        public static IConfigTypeSrv CreateConfigTypeSrv()
        {
            return new ConfigTypeSrv();
        }

        public static IInterestRateSrv CreateInterestRateSrv()
        {
            return new InterestRateSrv();
        }

        public static IMortgageSrv CreateMortgageSrv()
        {
            return new MortgageSrv();
        }

        public static IBillSrv CreateBillSrv()
        {
            return new BillSrv();
        }

        public static IReportSrv CreateReportSrv()
        {
            return new ReportSrv();
        }
    }
}


